package com.foreknow.demo1;

public class CImpl extends Person implements C {
    @Override
    public void m5() {

    }

    @Override
    public int m6() {
        return 0;
    }

    @Override
    public int m1() {
        return 0;
    }

    @Override
    public String m2() {
        return null;
    }

    @Override
    public void m3() {

    }

    @Override
    public String m4() {
        return "abcdef";
    }

    public static void main(String[] args) {
        C c = new CImpl();
        String str = c.m4();
        System.out.println(str.length());

    }

    @Override
    public void eat(String name) {

    }

    @Override
    public void study() {

    }

    @Override
    public void sleep() {

    }
}
